home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / shells / tcshsrc.zoo / tcsh / FAQ < prev    next >
Encoding:
Text File  |  1991-10-25  |  3.2 KB  |  88 lines

  1.  
  2. Last Updated: Sun Jul 21 16:02:05 EDT 1991
  3.  
  4. This is for people that do not read the manual!
  5.  
  6. So far people who don't read manuals don't read this either...
  7. I may call it README.*PLEASE* in the future, but then people won't
  8. be able to get it... :-)
  9.  
  10. 1.  Why is the meta key broken in tcsh-5.20? 
  11.  
  12.     On some machines the tty is not set up to pass 8 bit characters by default.
  13.     Tcsh 5.19 used to try to determine if pass8 should be set by looking at
  14.     the terminal's meta key. Unfortunately there is no good way of determining
  15.     if the terminal can really pass 8 characters or not. Consider if you are
  16.     logged in through a modem line with 7 bits and parity and your terminal 
  17.     has a meta key. Then tcsh 5.19 would set wrongly set pass8.
  18.  
  19.     If you did like the prevous behavior you can add in /etc/Login, or
  20.     in .login:
  21.  
  22.     if ( $?prompt ) then
  23.     if ( "`echotc meta`" == "yes" ) then
  24.          stty pass8
  25.     endif
  26.     endif
  27.  
  28.     If you don't have pass8, maybe something like
  29.  
  30.     stty -parity -evenp -oddp cs8 -istrip   (rs6000)
  31.     or
  32.     stty -parenb -istrip cs8 
  33.     
  34.     would work..
  35.  
  36. 2.  I ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in cbreak 
  37.     and no echo mode?
  38.  
  39.     These programs are broken. Background jobs should not try to look at the
  40.     tty. What happens is that dbxtool looks in stderr to inherit the tty
  41.     setups, but tcsh sets up the tty in cbreak and -echo modes, so that it
  42.     can do line editing. This cannot be fixed because tcsh cannot give away
  43.     the tty. A work-around is:
  44.  
  45.     dbxtool < /dev/null >& /dev/null &
  46.  
  47. 3.  I tried to compile tcsh and it cannot find <locale.h>?
  48.  
  49.     Your system does not support NLS. Undefine NLS in config_f.h and it
  50.     should work fine.
  51.  
  52. 4.  Where can I get csh sources? 
  53.  
  54.     Csh sources are now available with the 4.4BSD networking distributions.
  55.     You don't need csh sources to compile tcsh-6.00.
  56.  
  57. 5.  I just made tcsh my login shell, and I cannot ftp any more?
  58.  
  59.     Newer versions of the ftp daemon check for the validity of the
  60.     user's shell before they allow logins. The list of valid login
  61.     shells is either hardcoded or it is usually in a file called
  62.     /etc/shells. If it is hard-coded, then you are out of luck and
  63.     your best bet is to get a newer version of ftpd. Otherwise add
  64.     tcsh to the list of shells. Remember that the full path is required.
  65.     If there is no /etc/shells, and you are creating one, remember to
  66.     add /bin/csh, /bin/sh, and any other valid shells for your system,
  67.     so that other people can ftp too :-)
  68.  
  69. 6.  I am using SunView and editing is screwed up. In particular my
  70.     arrow keys and backspace don't work right. What am I doing wrong?
  71.  
  72.     Well, cmdtool tries to do its own command line editing and the
  73.     effect you get is one of using an editor inside an editor. Both
  74.     try to interpret the arrow key sequences and cmdtool wins since
  75.     it gets them first. The solutions are in my order of preference:
  76.  
  77.     1 Don't use suntools
  78.     2 Use shelltool instead of cmdtool.
  79.     3 Unset edit in tcsh.
  80.  
  81. 7.  I rlogin to another machine, and then no matter what I tell 'stty'
  82.     I cannot get it to pass 8 bit characters?
  83.  
  84.     Maybe you need to use 'rlogin -8' to tell rlogin to pass 8 
  85.     bit characters.
  86.  
  87. Everything else is a bug :-(
  88.